<?php
namespace yunj\traits\admin;

use yunj\YunjFile;

trait FileController {

    public function upload($from='input') {
        return YunjFile::instance()->upload($from);
    }

}